package com.cykj.pos.mapper;

import com.cykj.pos.domain.BizTransactionAmountEntity;
import com.cykj.pos.domain.BizTransactionStatisticsRecord;
import com.cykj.pos.domain.TransactionEntity;
import com.cykj.pos.domain.test;
import com.cykj.pos.domain.BizMerchParentRelateds;

import java.util.List;

/**
 * @author SunJinDuo
 * @date 2022/7/19
 */
public interface TransactionMapper {

    List<test> test();
    //    test test();
    void update(test t);

    List<TransactionEntity> statistics(Long transactionAmountId);

    BizTransactionAmountEntity selectAll(Long transactionAmountId);

    String selectSuffix(Long merchantId);

    int insert(BizTransactionAmountEntity bizTransactionAmountEntity);

    List<BizMerchParentRelateds> selectParentId(Long merchantId);

    int serlectType(String enterMode);

    BizTransactionStatisticsRecord selectTransactionByInnerMerchCode(BizTransactionStatisticsRecord bizTransactionStatisticsRecord);

    int inssertTransactionByInnerMerchCode(BizTransactionStatisticsRecord bizTransactionStatisticsRecord);

    int updateTransactionByInnerMerchCode(BizTransactionStatisticsRecord bizTransactionStatisticsRecord);

    int delete(Long id);

    int selectReset(Long merchId);

    int insertTr(TransactionEntity transactionEntity);
}
